package io.renren.modules.sys.service;

import java.util.List;
import java.util.Map;

import io.renren.modules.sys.entity.SysCodeEntity;

/**
 * @author chaolemen
 * @email 2698481037@qq.com
 * @date 2017-12-24 15:54:03
 */
public interface SysCodeService {
	
	SysCodeEntity queryObject(Long id);
	
	List<SysCodeEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(SysCodeEntity sysCode);
	
	void update(SysCodeEntity sysCode);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);

	List<SysCodeEntity> queryListByTypeCode(String catTaobaoGood);

	SysCodeEntity getByCode(Long category);
}
